Fopen in password.c
I want to open file in password.c by fopen command,
I add stdio.h to this file, But grub does not build and this error become apparent:
<Fopen in password is not defined>
Quoted 4 lines · Eli
I want to open file in
password.cby fopen command,
I addstdio.hto this file, But grub does not build and this error become apparent:
<Fopen in password is not defined>
commands/password.c does not run in a POSIX environment, and stdio is not available to it. You'll need to use GRUB's own file-handling interfaces instead, such as grub_file_open.
Signature · 1 line
Colin Watson [[email protected]]